package com.hjm.project.terminal.activate.domain;

import com.hjm.framework.aspectj.lang.annotation.Excel;
import com.hjm.framework.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * activate对象 feign_activate
 * 
 * @author maker-platform
 * @date 2021-03-10
 */

@Data
public class FeignActivate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 终端号 */
    @Excel(name = "终端号")
    private String posno;

    /** sn号 */
    @Excel(name = "sn号")
    private String sn;

    /** 直属代理 */
    @Excel(name = "直属代理")
    private String agentNum;

    /** 直属代理名称 */
    @Excel(name = "直属代理名称")
    private String agentName;

    /** 活动id */
    @Excel(name = "活动id")
    private String actId;

    /** 终端绑定日期 */
    @Excel(name = "终端绑定日期")
    private String createdate;

    /** 终端达标日期 */
    @Excel(name = "终端达标日期")
    private String achievementDate;

    /** 绑定90天后日期 */
    @Excel(name = "绑定90天后日期")
    private String enddate;

    /** 累计交易金额 */
    @Excel(name = "累计交易金额")
    private String amount;

    /** 添加时间 */
    @Excel(name = "添加时间")
    private String adddate;

    /** 终端类型 */
    @Excel(name = "终端类型",readConverterExp = "0=传统,4=电签")
    private String posType;

    /** 主键 */
    private Integer id;

    @Excel(name = "所属资深总监")
    private String topAgentNum;
    @Excel(name = "所属资深总监名称")
    private String topAgentName;
    private String numName;
    private String belong_agent;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("posno", getPosno())
            .append("sn", getSn())
            .append("agentNum", getAgentNum())
            .append("agentName", getAgentName())
            .append("actId", getActId())
            .append("createdate", getCreatedate())
            .append("achievementDate", getAchievementDate())
            .append("enddate", getEnddate())
            .append("amount", getAmount())
            .append("adddate", getAdddate())
            .append("posType", getPosType())
            .append("id", getId())
            .toString();
    }
}
